package ejb.author;

import javax.ejb.Local;
import javax.ejb.Stateless;

import ejb.GenericCRUDServiceEJB;
import entities.Author;


@Stateless
@Local(AuthorService.class)
public class AuthorServiceEJB extends GenericCRUDServiceEJB<Author> implements AuthorService{

//	@Override
//	public Author add(String firstName, String lastName) {
//		Author author = new Author();
//		author.setFirstName(firstName); 
//		author.setLastName(lastName);
//		try {
//	      em.persist(author);
//	    } catch (Exception e) {
//	    	System.out.println(e.getMessage());
//	    }
//	    return author;
//	}



 
}
